﻿using Microsoft.Extensions.Configuration;
using MiniFox.Configurations;

namespace MiniFox.Net.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    [Section(ELEMENT_NAME)]
    public class WebAdapterContainerConfiguration
    {
        internal const string ELEMENT_NAME = "minifox:webAdapterContainer";

        /// <summary>
        /// 
        /// </summary>    
        [ConfigurationKeyName(HttpAdapterSettingCollection.ELEMENT_NAME)]
        public HttpAdapterSettingCollection HttpAdapters
        {
            get;
            set;
        } = new();

        /// <summary>
        /// 
        /// </summary>    
        [ConfigurationKeyName(FtpAdapterSettingCollection.ELEMENT_NAME)]
        public FtpAdapterSettingCollection FtpAdapters
        {
            get;
            set;
        } = new();

    }
}
